const baseModel = require('./baseModel')

const {Schema,ObjectId} = require('mongoose')


module.exports = new Schema({
    video:{
        type:ObjectId,
        required:true,
        ref:"Video"
    },
    user:{
        type:ObjectId,
        required:true,
        ref:"User"
    },
    comments:{
        type:String,
        required:true
    }
})

